package com.hnnou.freshmenappserver.service.impl;

import com.hnnou.freshmenappserver.bean.Function;
import com.hnnou.freshmenappserver.dao.FunctionDao;
import com.hnnou.freshmenappserver.service.FunctionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FunctionServiceImpl implements FunctionService {
    @Autowired
    FunctionDao functionDao;

    public List<Function> findAll() {
        return functionDao.findAll();
    }

    @Override
    public Function selectById(Integer id) {

        return null;
    }

    @Override
    public int deleteById(Integer id) {
        return 0;
    }

    @Override
    public int update(Function function) {
        return 0;
    }

    @Override
    public int insert(Function function) {
        return 0;
    }
}
